<div id="left"></div>
<div id="view-content">
    <h1>Log in</h1>
    <?
    if (!$this->loginStatus) {
        echo $this->form->render();
        echo '<a href="../user/forgot">Forgot your password?</a>';
    }
    else if ($this->loginStatus == "successful") {
        echo "<p>User Log In was successful.</p>";
        echo '<p>You will be redirected in about <span id="time">5</span> sec. If not, click <a href="../">here</a>.</p>';
    }
    else if ($this->loginStatus == "failed") {
        echo "<p>The given email or password was wrong... ";
        echo '<a href="../user/forgot">did you forget your password?</a></p>';
        echo "<p>Maybe your account is not registered yet.<br>";
        echo "Please " . "<a href=\"registration\">register</a>" . " using our Registration Form and try to Log In again.</p>";
    }
    ?>
</div>
